<h1>Taches List</h1>

<table>
  <thead>
    <tr>
      <th>Id tache</th>
      <th>Nom tache</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($taches as $tache): ?>
    <tr>
      <td><a href="<?php echo url_for('Tache/show?id_tache='.$tache->getIdTache()) ?>"><?php echo $tache->getIdTache() ?></a></td>
      <td><?php echo $tache->getNomTache() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('Tache/new') ?>">New</a>
